
import { _decorator, Component, Node } from 'cc';
import { Message } from './Message';
const { ccclass, property } = _decorator;

/**
 * Predefined variables
 * Name = ComponentBase
 * DateTime = Sat Feb 05 2022 15:08:11 GMT+0800 (China Standard Time)
 * Author = vvc_zeng
 * FileBasename = ComponentBase.ts
 * FileBasenameNoExtension = ComponentBase
 * URL = db://assets/script/framework/ComponentBase.ts
 * ManualUrl = https://docs.cocos.com/creator/3.3/manual/zh/
 *
 */
 
// 第二步：让最底层组件和中间管理者能接收消息
export class ComponentBase extends Component {
    ReveiveMessage(message: Message) { }
}

/**
 * [1] Class member could be defined like this.
 * [2] Use `property` decorator if your want the member to be serializable.
 * [3] Your initialization goes here.
 * [4] Your update function goes here.
 *
 * Learn more about scripting: https://docs.cocos.com/creator/3.3/manual/zh/scripting/
 * Learn more about CCClass: https://docs.cocos.com/creator/3.3/manual/zh/scripting/ccclass.html
 * Learn more about life-cycle callbacks: https://docs.cocos.com/creator/3.3/manual/zh/scripting/life-cycle-callbacks.html
 */
